package com.masterclient.app.modules.shop.contract;

import com.eoner.baselibrary.base.BasePresenter;
import com.eoner.baselibrary.base.BaseView;
import com.masterclient.app.modules.shop.beans.StockDetailsBean;
import com.masterclient.app.modules.shop.beans.StockExplainBean;


public interface StockDetailsContract {

    interface View extends BaseView {
        void showData(StockDetailsBean dataBean);
        void showExplainData(StockExplainBean dataBean);
        void showDataFailed(String msg);
        void showExplainFailed(String msg);
        void updateSuccess();
        void updateFailed(String msg);
    }

    abstract class Presenter extends BasePresenter<View> {

        @Override
        public void onStart() {

        }

        public abstract void getStockList(String productId);
        public abstract void getExplain();
        public abstract void updateStockNum(String sku_id,String quantity,String remark,String origin_quantity);
    }
}